package operation.observer.abs;

import java.util.List;

public abstract class Subject {
    protected List<Observer> list;

    public abstract void registerObserver(Observer o);

    public abstract void removeObserver(Observer o);

    protected abstract void notifyObservers();
}
